import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import Icon from "@/components/Iconfont.vue";
import Popups from "@/components/Popups";
import ElementUI from "element-ui";

Vue.component("icon", Icon);

Vue.config.productionTip = false;
Vue.prototype.Popups = Popups;
Vue.use(ElementUI);

Vue.prototype.initialize = function () {
  // 初始化
};

new Vue({
  router,
  store,
  render: (h) => h(App),
  created() {
    this.initialize();
  },
}).$mount("#app");
